﻿using RestSharp;
using System;
using Ymatou.ServiceCenter;

namespace Ymatou.User.Dto.Auth
{
    /// <summary>
    ///  用户从cookie登录
    /// </summary>
    [Resource("auth.ymatou.com", "auth/token", Method.GET, ParameterBuildType.UrlQueryString)]
    public class UserLoginByCookieRequestDto
    {
        /// <summary>
        /// UserID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户类型
        /// </summary>
        public int UserType { get; set; }
        /// <summary>
        /// token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 客户端IP
        /// </summary>
        public string ClientIp { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string SourceType { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
    }
}
